package com.ruoyi.business.vo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

public class SearchResult implements Serializable{

    private int numOfMatches;
    private int totalMatches;

    @JSONField(name = "MatchList")
    private List<MatchList> MatchList;

    public void setNumOfMatches(int numOfMatches) {
        this.numOfMatches = numOfMatches;
    }
    public int getNumOfMatches() {
        return numOfMatches;
    }

    public void setTotalMatches(int totalMatches) {
        this.totalMatches = totalMatches;
    }
    public int getTotalMatches() {
        return totalMatches;
    }

    public void setMatchList(List<MatchList> MatchList) {
        this.MatchList = MatchList;
    }
    public List<MatchList> getMatchList() {
        return MatchList;
    }

    @Override
    public String toString() {
        return "SearchResult{" +
                "numOfMatches=" + numOfMatches +
                ", totalMatches=" + totalMatches +
                ", MatchList=" + MatchList +
                '}';
    }
}